import { register } from "../script/register.js";
let userInfoList = [
  {
    username: 'test1',
    firstName: "ye",
    lastName: "tao",
    email: "pmpbaokaokaoshibiguojia.you.n.ul.i@gmail.com",
    country: "CHN",
    companyName: "51CTO",
    "8": "165",
    "2": "139",
    "1": "2",
    "4": "179",
    "3": "155",
    "5": "173",
    organizationFocus: "20",
    areaOfFocus: "5",
    password: "Pmp@2023",
    confirmPassword: "Pmp@2023",
    securityQuestionId: "4",
    securityAnswer: "51CTO",
  },
  {
    username: 'test1',
    firstName: "ye",
    lastName: "tao",
    email: "pmpbaokaokaoshibiguojia.you.nu.l.i@gmail.com",
    country: "CHN",
    companyName: "51CTO",
    "8": "165",
    "2": "139",
    "1": "2",
    "4": "179",
    "3": "155",
    "5": "173",
    organizationFocus: "20",
    areaOfFocus: "5",
    password: "Pmp@2023",
    confirmPassword: "Pmp@2023",
    securityQuestionId: "4",
    securityAnswer: "51CTO",
  },
  {
    username: 'test1',
    firstName: "ye",
    lastName: "tao",
    email: "pmpbaokaokaoshibiguojia.you.n.ul.i@gmail.com",
    country: "CHN",
    companyName: "51CTO",
    "8": "165",
    "2": "139",
    "1": "2",
    "4": "179",
    "3": "155",
    "5": "173",
    organizationFocus: "20",
    areaOfFocus: "5",
    password: "Pmp@2023",
    confirmPassword: "Pmp@2023",
    securityQuestionId: "4",
    securityAnswer: "51CTO",
  },
  // {
  //   username: 'test1',
  //   firstName: "ye",
  //   lastName: "tao",
  //   email: "pmpbaokaokaoshibiguojia.you.n.u.li@gmail.com",
  //   country: "CHN",
  //   companyName: "51CTO",
  //   "8": "165",
  //   "2": "139",
  //   "1": "2",
  //   "4": "179",
  //   "3": "155",
  //   "5": "173",
  //   organizationFocus: "20",
  //   areaOfFocus: "5",
  //   password: "Pmp@2023",
  //   confirmPassword: "Pmp@2023",
  //   securityQuestionId: "4",
  //   securityAnswer: "51CTO",
  // },
];

// 不用forEach  改用任务队列

userInfoList.forEach((userInfo, index) => {
  register({...userInfo, index});
});